import type { UploadFile } from "element-plus";

interface FormItemProps {
  id?: number;
  title?: string;
  courseId?: number;
  content?: string;
  video?: string;
  rank?: number;
  fileList?: UploadFile[];
}

interface FormProps {
  formInline?: FormItemProps;
}

interface result {
  code?: number;
  msg?: string;
  data?: FormItemProps;
}

export type { FormItemProps, FormProps, result };
